<button type="button" class="btn btn-success" id="clientEditBtn">Edit</button>

	document.getElementById("clientEditBtn").addEventListener("click",function(){
                    Swal.fire({
                    title:"Do you want to save the changes?",
                    icon: "warning",
                    showDenyButton:!0,
                    showCancelButton:0,
                    confirmButtonText:"Save",
                    confirmButtonClass:"btn btn-success w-xs me-2",
                    cancelButtonClass:"btn btn-danger w-xs",
                    denyButtonClass:"btn btn-info w-xs me-2",
                    buttonsStyling:!1,
                    denyButtonText:"Ignore changes",
                    showCloseButton:!0
                    }).then(function(t){
                        t.isConfirmed?Swal.fire({
                            title:"Saved!",
                            text: "Client info has been changed",
                            icon:"success",
                            confirmButtonClass:"btn btn-primary w-xs",
                            buttonsStyling:!1
                        }):t.isDenied&&Swal.fire({
                            title:"Changes are not saved",
                            icon:"info",
                            confirmButtonClass:"btn btn-primary w-xs",
                            buttonsStyling:!1
                        })
                    })
                })